// 悬浮窗控件配置属性
export default {
    "component": {
        "show": true,
        "title": "悬浮窗",
        "icon": "icon-widget-suspension",
        "type": "2",
        "helpHref": "https://www.yuque.com/zhonglixunni/wali/prgxw5"
    },
    "config": true,

    "eles": {
        "type": "suspension",
        "style": {
            "opacity": 1,
            "color": "#000",
            "right": "5px",    // 距右
            "font-size": "12px",
            "background-color": "rgba(0, 0, 0, 0)",
            "background-image": "",
            "text-decoration": "",
            "font-style": "",
            "font-weight": ""
        },
        "content": [
            {
                "customFeature": {
                    "action": "",
                    "width": "20px",
                    "height": "20px"
                },
                "pic": "https://www.waliapp.cn/editor/images/suspension-customer.png",
                "title": "客服",
                "widgetIdPath": ["", null]
            },
            {
                "customFeature": {
                    "action": "",
                    "width": "20px",
                    "height": "20px"
                },
                "pic": "https://www.waliapp.cn/editor/images/suspension-myOrder.png",
                "title": "我的订单",
                "widgetIdPath": ["", null]
            },
            {
                "customFeature": {
                    "action": "",
                    "width": "20px",
                    "height": "20px"
                },
                "pic": "https://www.waliapp.cn/editor/images/suspension-shopping-cart.png",
                "title": "购物车",
                "widgetIdPath": ["", null]
            },
            {
                "customFeature": {
                    "action": "top",
                    "width": "20px",
                    "height": "20px"
                },
                "pic": "https://www.waliapp.cn/editor/images/suspension-top.png",
                "title": "回到顶部",
                "widgetIdPath": ["", null]
            }
        ],
        "customFeature": {
            "margin": "2",                          // 间隔
            "mode": 0,                              // 样式 0竖版 1横版
            "backgroundType": false,                // ???
            "lineBackgroundColor": "rgba(0,0,0,0)", // 图标背景色
            "lineBackgroundImage": "",              // 图标背景图
            "openIcon": true,                       // 显示图标
            "openText": false,                      // 显示文字
            "img-size": 33,                         // 图标大小
            "backgroundTypeNew": false,             // ???
            "width": "",                            // 宽度
            "height": "",                           // 高度
            "border-radius": "50px",
            "bottom": "70px",                       // 置底 or 置顶("top": "70px")
        },
        "animations": [],
        "hidden": false
    }
}